#ifndef _SCREEN_H_
#define _SCREEN_H_

#include <X11/Xlib.h>
#include "vector2d.h"
#include "window.h"
#include "monitor.h"

class WMScreen
{
public:
	WMScreen(int i, Display *d);
	virtual ~WMScreen();
        
        WMWindow *getRootWindow() const { return p_rootWindow; }
        WMMonitor *getMonitor(int pos) const { return &p_monitors[pos]; }
        WMMonitor* getCurrentMonitor() const { return p_current_monitor; }

private:
	int m_id;
	Screen* p_xscreen;
	Vector2D<int> m_size;

        Display *p_display;
	WMWindow *p_rootWindow;
	WMMonitor *p_monitors;
        WMMonitor *p_current_monitor;
};

#endif
